package com.tencreat.domain.mall.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 店铺扫码订单列表
 * @author zixin
 */
@Data
public class MallStoreScanOrderListDTO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("订单编号")
    private String orderSn;

    @ApiModelProperty("商家id")
    private String storeId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("商品ID")
    private String goodsId;


    @ApiModelProperty("实付消费券")
    private BigDecimal actualPrice;

    @ApiModelProperty("供应价")
    private BigDecimal supplyPrice;


    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private String orderTime;

    @ApiModelProperty("用户ID")
    private Long uuid;

    @ApiModelProperty("手机号码")
    private String userPhone;

    @ApiModelProperty("开始下单时间")
    private LocalDateTime startOrderTime;

    @ApiModelProperty("结束下单时间")
    private LocalDateTime endOrderTime;

    @ApiModelProperty("排序字段")
    private String sortStr;

    @ApiModelProperty("排序规则")
    private String sortDesc;



}
